<?
/*
$address = '10.1.1.12';
$port = 3306;
$start = microtime(true);
$checkport = fsockopen($address, $port, $errnum, $errstr, 2); 
$stop = microtime(true);
if(!$checkport){
	echo 'Port Closed'.chr(10);
} else {
	fclose($checkport);
	echo 'Port '.$port.' Open ('.(($stop - $start)*1000).'ms)'.chr(10);
}
*/

$walk = snmp2_real_walk('192.168.239.245','public',null);
echo 'walk: '.print_r($walk,1).chr(10);